package oop_05.homework_03;
//乘
public class multiply extends Computer{
    public multiply(double num1, double num2, double result) {
        super(num1, num2, result);
    }
    public void multiply(){
        this.setResult(getNum1()*getNum2());
        System.out.println( "multiply---->"+getResult());
    }
}
